//
//  ScrollTitleView.h
//  WidgetDemo
//
//  Created by 航汇聚科技 on 2018/3/13.
//  Copyright © 2018年 Yi Zhou. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol ScrollTitleViewDelegate<NSObject>

- (void)showWithTitle:(NSString *)title tag:(NSInteger)tag;

@end
/**
 滑动的标题栏
 */
@interface ScrollTitleView : UIView

@property (nonatomic, weak) id<ScrollTitleViewDelegate> delegate;

+ (instancetype)xib;

- (void)drawWithTitles:(NSArray *)titles titleFont:(UIFont *)titleFont touchedTitleFont:(UIFont *)touchedFont normalTitleColor:(UIColor *)normalColor touchedTitleColor:(UIColor *)touchedColor eachTitleHorizontalSpace:(CGFloat)horizontalSpace;



@end
